Semiconductor storage device

ABSTRACT

In writing data in a selected memory cell in an EPROM, MOSFETs constituting a write circuit are controlled by a reference voltage and an output from a voltage dividing circuit in accordance with a write data so that the limited voltage and the limited current of the load line used can be set as desired. This prevents an excess current from being supplied to the drain electrode of a memory cell so that the EPROM can be fabricated without deteriorating the reliability of the memory cell. Further, the wirings for connecting a write voltage terminal with the write circuit and the voltage dividing circuit are individually provided so that the width of the wirings, i.e., the wiring area in the EPROM can be reduced. This permits the EPROM to be integrated with high density.

BACKGROUND OF THE INVENTION

(1) Field of the invention

The present invention relates to a semiconductor storage device and, more particularly, to an electrically erasable programmable read-only memory (hereinafter referred to as "EPROM").

(2) Description of the prior art

The prior art EPROM of the kind to which the present invention relates is, as shown in FIG. 1, composed of a memory cell array 1, a plurality of column lines D₀ -D₃, a plurality of row lines W₀ -W₃, a column decoder 2, a column selector 3, a row decoder 4, a column pull-up circuit 5, a row pull-up circuit 6, a write circuit 17 and a sense amplifier 10.

Specifically, the memory cell array 1 comprises a plurality of electrically erasable programmable memory cells M₀₀ -M₃₃ each having a floating gate arranged in a matrix form, that is, in a row and a column direction. The column lines D₀ -D₃ serve to connect the memory cells M₀₀ -M₃₃ in the column direction. The row lines W₀ -W₃ serve to connect the memory cells M₀₀ -M₃₃ in the row direction. The column decoder 2 is composed of NOR gates NOR₀ -NOR₃ having inputs of address signals a₀ -a₁, and transfer gates constituted by N-channel depletion type MOS field effect transistors (hereinafter referred to as "MOSFETs") DY₀ -DY₃ to each of the gates of which a write signal W is commonly applied. The column selector 3 is composed of N-channel MOSFETs YS₀ -YS₃ which are driven by the outputs Y₀ -Y₃ from the column decoder 2 and serve to select the column lines D₀ -D₃. The row decoder 4 is composed of NOR gates NOR₄ -NOR₇ having inputs of address signals a₂ -a₃, and transfer gates constituted by N-channel depletion type MOSFETs DX₀ -DX₃ to each of the gates of which a write signal W is commonly applied, and serve to select the row lines W₀ -W₃. The column pull-up circuit 5 is composed of inverters IY₀₀ -IY₃₀ and P-channel MOSFETs PY₀₁ -PY₃₁. The inverters IY₀₀ -IY₃₀ comprise P-channel MOSFETs PY₀₁ -PY₃₁ and N-channel MOSFETs NY₀₀ - NY₃₀ which are connected in series between a write voltage terminal V_(PP) and ground, and their inputs are connected with the outputs Y₀ -Y₃ from the column decoder 2. The P-channel MOSFETs PY₀₀ -PY₃₀ are connected between the write voltage terminal V_(PP) and the outputs Y₀ -Y₃ from the column decoder 2, and applied to their gate electrodes are the outputs from the inverters IY₀₀ -IY₃₀. The row pull-up circuit 6 is composed of inverters IX₀₀ -IX₃₀ and P-channel MOSFETs PX₀₁ -PX₃₁. The inverters IX₀₀ -IX₃₀ comprise P-channel MOSFETs PX₀₀ -PX₃₀ and N-channel MOSFETs NX₀₀ -NX₃₀ which are connected in series between the write voltage terminal V_(PP) and the ground, and their inputs are connected with the row lines W₀ -W₃. The P-channel MOSFETs PX₀₁ -PX₃₁ are connected between the write voltage terminal V_(PP) and the row lines W₀ -W₃, and applied to their gate electrodes are the outputs from the inverters IX₀₀ -IX₃₀. The write circuit 17 is constituted by an N-channel MOSFET NW₁₀ which is connected between the write voltage terminal V_(PP) and the column selector 3 and to the gate electrode of which a write data D₁ is applied. The sense amplifier 10 serves to read the data stored in the memory cells M₀₀ -M₃₃.

The operation of the EPROM of FIG. 1 will be described below.

First, the write operation will be explained. With the write voltage terminal V_(PP) set for a high voltage (e.g., 12.5 V) and the write signal W set for a low level (0 V), address signals corresponding to the memory cell in which a data is to be stored are applied. For example, if a₀ =0, a₁ =0, a₂ =0, and a₃ =0, in the column decoder 2, NOR₀ is selected so that it produces a high level 5 V, whereas NOR₁ to NOR₃ are not selected so that they produce a low level 0 V. Now it is assumed that the threshold voltage (hereinafter referred to as "V_(T) ") of each of the N-channel MOSFETs DY₀ -DY₃ is, for example, -3 V. Since the low level 0 V is applied to the gates of DY₀ -DY₃, the selected column decoder output Y₀ is charged up to |V_(TD) |=3 V through the N-channel MOSFET DY₀ so that DY₀ is in a cut off state. On the other hand, the non-selected column decoder outputs Y₁ -Y₃ become the low level 0 V through the MOSFETs DY₁ -DY₃. Then, if the logical threshold voltage of the inverters IY₀₀ -IY₃₀ in the column pull-up circuit 5 is set for the voltage lower than |V_(TD) |=3 V, the output from the inverter IY₀₀ becomes the low level 0 V. Therefore, the P-channel MOSFET PY₀₁ turns on so that the selected column decoder output Y₀ is pulled up to the high voltage V_(PP) =12.5 V through the P-channel MOSFET PY₀₁. On the other hand, the outputs from the inverters IY₁₀ to IY₃₀ are the high level 12.5 V so that the P-channel MOSFETs PY₁₁ to PY₃₁ turn off. Thus, the low level 0 V of the non-selected column decoder outputs Y₁ to Y₃ are not influenced. In this state, only the N-channel MOSFET YS₀ constituting a part of the column selector 3 turns on so that the write circuit 17 is connected with the column line D₀ through the MOSFET YS₀. Further, the row decoder 4 and the row pull-up circuit 6, which have the same circuit arrangements as the column decoder 2 and the column pull-up circuit 5, respectively, select the row line W₀ to be pulled up to the high voltage 12.5 V while the non-selected W₁ to W₃ are at the low level 0 V.

In this way, the memory cell M₀₀ is selected. The selected memory cell M₀₀ is connected with the write circuit 17 through the N-channel MOSFET YS₀ in the column selector 3.

Now, if the write data D₁ is the high level V_(PP) =12.5 V, the N-channel MOSFET NW₁₀ turns on so that the drain electrode of the memory cell M₀₀ is connected with the write voltage terminal V_(pp) through the N-channel MOSFET NW₁₀ constituting the write circuit 17 and the N-channel MOSFET YS₀ in the column selector 3. Thus, the threshold voltage V_(TM) of the memory cell M₀₀ is shifted from V_(TM) =2 V to V_(TM) =10 V. The load line obtained with the potential V_(D1) at the selected column and the current I_(D1) flowing through the MOSFET NW₁₀ in the write circuit 17 and the MOSFET YS₀ in the column selector 3 is shown in FIG. 3A. Since V_(PP) =12.5 V is previously applied to the gates of the MOSFET NW₁₀ and the MOSFET YS₀, I_(D1) flows when V_(D1) <(V_(PP) -V_(TN)) (V_(TN) represents the threshold voltage of the MOSFET NW₁₀ and the MOSFET YSo); the lower the voltage V_(D1), the larger the current I_(D1). In order to shift the threshold voltage V_(TM) of the memory cell M₀₀, the load line must be set at the upper right of a write starting point (represented by "." on the graph) given by V_(W) and I_(w).

On the other hand, the write data D₁ is the low level 0 V, the MOSFET NW₁₀ in the write circuit 17 turns off so that no voltage is applied to the drain electrode of the selected memory cell. Thus, the selected memory cell M₀₀ is in a non-writing state so that the V_(TM) is not shifted but maintains e.g., V_(TM) =2 V.

Next, the read operation will be explained. With the write voltage terminal V_(PP) set for a power supply voltage V_(CC) =5 V and the write signal W set for a high level (5 V), address signals corresponding to the memory cell from which a data is to be read out are applied. For example, if a₀ =0, a₁ =0, a₂ =0, and a₃ =0, in the column decoder 2, NOR₀ is selected so that it produces a high level 5 V, whereas NOR₁ to NOR₃ are not selected so that they produce a low level 0 V. Since the high level 5 V has been applied to each of the gates of the MOSFET DY₀ -DY₃, the selected column decoder output Y₀ is the high level, whereas the non-selected column decoder outputs Y₁ -Y₃ are the low level 0 V. In the column pull-up circuit 5, the output from the inverter IY₀₀ becomes the low level 0 V so that the P-channel MOSFET PY₀₁ turns on. Thus, the selected column decoder output Y₀ is pulled up to the high level voltage V_(CC) =5 V also through the MOSFET PY₀₁. On the other hand, the outputs from the inverters IY₁₀ to IY₃₀ are the high level V_(CC) =5 V so that the P-channel MOSFETs PY₁₁ to PY₃₁ turn off. Thus, the low level 0 V of the non-selected column decoder outputs Y₁ to Y₃ are not influenced. In this state, only the N-channel MOSFET YS₀ in the column selector 3 turns on so that the input of the sense amplifier 10 is connected with the column line D₀ through this N-channel MOSFET YS₀. Further, the row decoder 4 and the row pull-up circuit 6, which have the same circuit arrangements as the column decoder 2 and the column pull-up circuit 5, respectively, select the row line W₀ to be pulled up to the high level 5 V while the non-selected W₁ to W₃ are at the low level 0 V.

In this way, the memory cell M₀₀ is selected. If the threshold voltage V_(TM) of the selected memory cell M₀₀ is V_(TM) =2 V which has not been shifted, the memory cell M₀₀ turns on so that the low level is produced from the sense amplifier 10. If V_(TM) of the selected memory cell M₀₀ is V_(TM) =10 V shifted, the memory cell M₀₀ does not turn on, but the high level is produced from the sense amplifier 10.

As readily understood from the description hitherto made, in an EPROM, it is possible to electrically store any data in any memory cell, and also possible to read the data stored in any memory cell.

FIG. 2 shows another conventional EPROM. In FIG. 2, like reference numerals and symbols refer to like parts in FIG. 1. It should be noted that the EPROM of FIG. 2 comprises a voltage boosting circuit 9 in addition to the components as shown in FIG. 1 and the write circuit 17 in FIG. 1 is modified as a write circuit 27.

Specifically, the voltage boosting circuit 9 is composed of N-channel MOSFETs NCP₀ and NCP₁ which are connected in series between the write voltage terminal V_(PP) and an output terminal CP_(OUT) of the voltage boosting circuit and the gate electrodes of which are connected with the corresponding drain electrodes; a capacitor element C one terminal of which is connected with the junction point of NCP₀ and NCP₁ and the other terminal of which a clock signal φ is applied to; and an N-channel depletion type MOSFET DCP₀ the drain electrode of which is connected with a power supply voltage terminal V_(CC), the source electrode of which is connected with the output terminal CP_(OUT) of the voltage boosting circuit 9 and the gate electrode of which the write signal W is applied to.

The write circuit 27 is composed of an N-channel depletion type MOSFET DW₂₀ and an N-channel MOSFET NW₂₀ connected in series between the write voltage terminal V_(PP) and the column selector 3; a load element RW₂₁ and an N-channel MOSFET NW₂₁ connected in series between the output terminal CP_(OUT) of the voltage boosting circuit 9 and the ground. The gate electrode of the MOSFET NW₂₁ receives a signal obtained by inverting the write data D₁ by an inverter IW₂₀. The gate electrode of the MOSFET DW₂₀ is connected with its source electrode and the gate electrode of the N-channel MOSFET NW₂₀ is connected with the junction point of the load element RW₂₁ and the N-channel MOSFET NW₂₁. Further, it should be noted that the output terminal CP_(out) of the voltage boosting circuit 9 is also connected with each of the source electrodes of the P-channel MOSFETs PY₀₀ -PY₃₀ constituting the inverters IY₀₀ -IY₃₀ and of the P-channel MOSFETs PY₀₁ -PY₃₁ all in the column pull-up circuit 5.

The write operation of the EPROM of FIG. 2 will be explained. With the write voltage terminal V_(pp) set for the high voltage 12.5 V and the write signal W set for the low level 0 V, if the clock signal φ is applied to the voltage boosting circuit 9, the voltage V_(cp) (e.g., V_(cp) =20 V) boosted by the voltage boosting circuit 9 will be produced from its output terminal CP_(out). If the address signals of a₀ =0, a₁ =0, a₂ =0 and a₃ =0 are applied, as described in connection with FIG. 1, the decoder output Y₀ is selected and then pulled up to |V_(TD) |=3 V. Further, the output of the inverter IY₀₀ in the column pull-up circuit 5 becomes the low level 0 V, so that the P-channel MOSFET PY₀₁ turns on. Thus, the selected decoder output Y₀ will be pulled up to the boosted voltage (V_(CP) =20 V) produced from the output terminal CP_(OUT) of the boosting circuit 9 through the P-channel MOSFET PY₀₁. Accordingly, the boosted voltage V_(CP) =20 V is applied to the gate electrode of the N-channel MOSFET YS₀ so that it turns on. As a result, the column line D₀ is connected with the write circuit 27.

Further, as described in connection with FIG. 1, the row decoder 4 and the row pull-up circuit 6 select the row line W₀ to be pulled up to the high voltage V_(PP) =12.5 V. In this way, the memory cell M₀₀ in the memory cell array is selected.

Now, if the write data D₁ is at a high level, the output from the inverter IW₂₀ becomes a low level 0 V. Then, the N-channel MOSFET NW₂₁ turns off, so that the potential at the junction point of the load element RW₂₁ and the N-channel MOSFET NW₂₁ connected in series between the terminal CP_(OUT) and the ground becomes the boosted voltage V_(CP) =20 V produced from the voltage boosting circuit 9. Thus, the boosted voltage V_(CP) =20 V is applied to the gate electrode of the N-channel MOSFET NW₂₀, so that NW₂₀ turns on. Accordingly, the drain electrode of the memory cell M₀₀ is connected with the write voltage terminal V_(PP) through the N-channel MOSFET NW₂₀ and the N-channel depletion type MOSFET DW₂₀ in the write circuit 27 and the N-channel MOSFET YS₀ in the column selector 3. As a result, the threshold voltage V_(TM) of the memory cell M₀₀ will be shifted e.g., from V_(TM) =2 V to V_(TM) =10 V.

Now, FIG. 3B shows the load line obtained with the potential V_(D1) of the selected column line and the current I_(D1) flowing through MOSFETs DW₂₀ and NW₂₀ in the write circuit 27 and the MOSFET YS₀ in the column selector 3. Now it should be noted that the boosted voltage V_(CP) =20 V is previously applied to the gate electrode of the N-channel MOSFET NW₂₀ in the write circuit 27 and that of the N-channel MOSFET YS₀ in the column selector 3. For this reason, if the threshold voltages V_(TN) of the N-channel MOSFETs NW₂₀ and YS₀ are V_(TN) =1 V, respectively, even if the V_(PP) =12.5 V is applied to their source electrodes, they are not cut off. As a result, the load line is determined by the N-channel depletion type MOSFET DW₂₀ and the current I_(D1) flows when 0≦V_(D1) <V_(PP). The current I_(D1) will be limited by I_(DW20) expressed by the following equation: ##EQU1##

In Equation (1), β_(DW20) and V_(TDW20) are β and the threshold voltage of the N-channel MOSFET DW₂₀, and the limit current I_(DW20) can be defined by setting β_(DW20) and V_(TDW20). In this case also, it should be noted that in order to shift the threshold voltage V_(TM) of the memory cell, the load line must be set at the upper right of the write starting point (represented by ".") given by V_(W) and I_(W).

On the other hand, if the write data D₁ is the low level, the output from the inverter IW₂₀ becomes the high level, so that the N-channel MOSFET NW₂₁ turns on. Thus, the junction point of the load element RW₂₁ and the MOSFET NW₂₁ becomes the low level so that the MOSFET NW₂₀ turns off. Then, no voltage is applied to the drain electrode of the selected memory cell M₀₀ so that the memory cell M₀₀ is in a non-writing state. Therefore, V_(TM) thereof is not shifted but V_(TN) =2 V is maintained. Additionally, in the read-out operation, the write voltage terminal V_(PP) is set for the power supply voltage V_(CC) =5 V and the write signal W is set for the high level V_(CC) =5 V. In this case, the N-channel MOSFET DCP₀ turns on so that the voltage of V_(CC) =5 V is extracted from the output terminal CP_(OUT) of the voltage boosting circuit 9. Therefore, the read operation can be executed in the same manner as in the EPROM shown in FIG. 1.

The prior art EPROMs described above have the following defects.

In the prior art EPROM shown in FIG. 1, as the load line of the write circuit 17 has the characteristic as shown in FIG. 3A, if the load line is so set that it starts from V_(PP) -V_(TN) and passes the upper right of the write starting point (represented by ".") in order to shift the threshold voltage V_(TM) of the memory cell, the current I_(D1) in the range of V_(D1) <V_(W) becomes very large.

Also, as the current I_(D1) is supplied from the write voltage terminal V_(PP), if V_(D1) becomes low, the current (hereinafter referred to as "I_(PP) ") flowing from the write voltage terminal V_(PP) also becomes very large.

On the other hand, in the prior art EPROM shown in FIG. 2, the load line of the write circuit 27 has the characteristic as shown in FIG. 3B. As described above, I_(D1) is limited by I_(DW20) so that I_(PP) does not become large. However, in the range of I_(D1) is small, that is, I_(D1) <<I_(W), V_(D1) becomes a high voltage which is substantially equal to V_(PP). Thus, the high voltage which is substantially equal to V_(PP) will be applied to the drain electrode of a memory cell. Application of such a high voltage to the drain electrode of the memory cell may break the memory cell, or cause the data stored in the memory cell to disappear, thereby greatly deteriorating the reliability of the memory cell.

In this way, the setting I_(D1) and V_(D1) in an EPROM is a very important matter. Nevertheless, both the prior art EPROMs could not have these values set in a desired manner.

SUMMARY OF THE INVENTION

It is, therefore, an object of the invention to overcome the problems existing in the conventional EPROM and to provide an improved semiconductor storage device.

It is another object of the invention to provide an EPROM which can prevent an excess current from flowing through each of memory cells and an excess voltage from being applied to the drain of the memory cell, thereby enhancing the reliability of the memory cell.

It is a further object of the invention to provide an EPROM with a reduced wiring area so as to be integrated at a high integration density.

In accordance with one aspect of the invention, there is provided a semiconductor storage device which comprises:

a memory cell array including a plurality of memory cells each having a floating gate arranged in a row and a column direction;

a plurality of column lines for connecting the memory cells in the column direction;

a plurality of row lines for connecting the memory cells in the row direction;

a column decoder for receiving a first address signal related to the column direction;

a column selector for selecting the column lines, the column selector being driven by outputs from the column decoder;

a row decoder for receiving a second address signal related to the row direction and selecting the row lines;

a voltage dividing circuit connected between a write voltage terminal and ground;

a sense amplifier for reading the data stored in the memory cells; and

at least one write circuit for applying a high voltage to one column line selected from the plurality of column lines in accordance with a write data, the high voltage being supplied from the write voltage terminal, when writing for one memory cell selected from the plurality of memory cells,

the write circuit comprising a first MOSFET having a first conductivity type and a second MOSFET having a second conductivity type opposite to the first conductivity type connected in series between the write voltage terminal and the column selector in which the first MOSFET turns on when a reference voltage is applied to its gate electrode in accordance with the write data, and the second MOSFET turns on when an output voltage from the voltage dividing circuit is applied to its gate electrode.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1 and 2 are circuit diagrams of prior art EPROMs, respectively;

FIGS. 3A and 3B are graphs showing the characteristics of load lines in the EPROMs shown in FIGS. 1 and 2, respectively;

FIG. 4 is a circuit diagram of an EPROM of a first embodiment according to the present invention;

FIG. 5 is a graph of the characteristic of the load line in the circuit shown in FIG. 4;

FIG. 6 is a circuit diagram of an EPROM of a second embodiment according to the present invention; and

FIGS. 7A and 7B are conceptual views of a wiring pattern used in the EPROMs of FIGS. 4 and 5.

PREFERRED EMBODIMENTS OF THE INVENTION

Now, referring to the drawings, an explanation will be given of embodiments of the present invention.

FIG. 4 shows an EPROM of a first embodiment according to the present invention.

As shown in FIG. 4, the EPROM is composed of a memory cell array 1, a plurality of column lines D₀ -D₃, a plurality of row lines W₀ -W₃, a column decoder 2, a column selector 3, a row decoder 4, a column pull-up circuit 5, a row pull-up circuit 6, a voltage boosting circuit 9, a voltage dividing circuit 8, a write circuit 7 and a sense amplifier 10.

Specifically, the memory cell array 1 comprises a plurality of electrically erasable programmable memory cells M₀₀ -M₃₃ each having a floating gate arranged in a matrix configuration. The column lines D₀ -D₃ serve to connect the memory cells M₀₀ -M₃₃ in the column direction. The row lines W₀ -W₃ serve to connect the memory cells M₀₀ -M₃₃ in the row direction. The column decoder 2 is composed of NOR gates NOR₀ -NOR₃ having inputs of address signals a₀ -a₁, and transfer gates constituted by N-channel depletion type MOSFETs DY₀ -DY₃ to each of the gates of which a write signal W is commonly applied. The column selector 3 is composed of N-channel MOSFETs YS₀ -YS₃ which are driven by the outputs Y₀ -Y₃ from the column decoder 2 and serve to select the column lines D₀ -D₃. The row decoder 4 is composed of NOR gates NOR₄ -NOR₇ having inputs of address signals a₂ -a₃, and transfer gates constituted by N-channel depletion type MOSFETs DX₀ -DX₃ to each of the gates of which a write signal W is commonly applied, and serve to select the row lines W₀ -W₃.

The column pull-up circuit 5 is composed of inverters IY₀₀ -IY₃₀ and P-channel MOSFETs PY₀₁ -PY₃₁. The inverters IY₀₀ -IY₃₀ comprise P-channel MOSFETs PY₀₀ -PY₃₀ and N-channel MOSFETs NY₀₀ -NY₃₀ which are connected in series between the output terminal CP_(out) of the voltage boosting circuit 9 and the ground, and their inputs are connected with the output Y₀ -Y₃ from the column decoder 2. The P-channel MOSFETs PY₀₁ -PY₃₁ are connected between the output terminal CP_(out) of the voltage boosting circuit 9 and the outputs Y₀ -Y₃ from the column decoder 2, and applied to their gate electrodes are the outputs from the inverters IY₀₀ -IY₃₀.

The row pull-up circuit 6 is composed of inverters IX₀₀ -IX₃₀ and P-channel MOSFETs PX₀₁ -PX₃₁. The inverters IX₀₀ -IX₃₀ comprise P-channel MOSFETs PX₀₀ -PX₃₀ and N-channel MOSFETs NX₀₀ -NX₃₀ which are connected in series between a write voltage terminal V_(PP) and the ground, and their inputs are connected with the row lines W₀ -W₃. The P-channel MOSFETs PX₀₁ -PX₃₁ are connected between the write voltage terminal V_(PP) and the row lines W₀ -W₃, and applied to their gate electrodes are the outputs from the inverters IX₀₀ -IX₃₀.

The voltage boosting circuit 9 is composed of N-channel MOSFETs NCP₀ and NCP₁ which are connected in series between the write voltage terminal V_(PP) and its output terminal CP_(out) and the gate electrodes of which are connected with the corresponding drain electrodes; a capacitor element C one terminal of which is connected with the junction point of the MOSFETs NCP₀ and NCP₁ and the other terminal of which a clock signal φ is applied to; and an N-channel depletion type MOSFET DCP₀ the drain electrode of which is connected with a power supply voltage terminal V_(cc), the source electrode of which is connected with the output terminal CP_(OUT) of the voltage boosting circuit 9 and the gate electrode of which the write signal W is applied to.

The voltage dividing circuit 8 is composed of a resistor elements RD₀ and RD₁ connected in series between the write voltage terminal V_(PP) and the ground.

The write circuit 7 is composed of a P-channel MOSFET PW₀₀ and an N-channel MOSFET NW₀₀ connected in series between the write voltage terminal V_(PP) and the column selector 3; and a switch circuit 11 comprising a P-channel MOSFET PW₀₁ the source electrode of which is connected with the write voltage terminal V_(PP), the drain electrode of which is connected with the gate electrode of the P-channel MOSFET PW₀₀ and the gate electrode of which a write data D₁ is applied to, and an N-channel MOSFET NW₀₁ the drain electrode of which a reference voltage V_(R) is applied to, the gate electrode of which the write data D₁ is applied to and the source electrode of which is connected with the gate electrode of the P-channel MOSFET PW₀₀. The gate electrode of the N-channel MOSFET NW₀₀ is connected with the junction point of the resistor elements RD₀ and RD₁ constituting the voltage dividing circuit 8.

The sense amplifier 10 serves to read the data stored in the memory cells M₀₀ -M₃₃.

The write operation of the EPROM of FIG. 4 will be explained. With the write voltage terminal V_(PP) set for the high voltage 12.5 V and the write signal set for the low level 0 V is applied, if the clock signal φ is applied to the voltage boosting circuit 9, the voltage V_(CP) (e.g., V_(CP) =20 V) boosted by the voltage boosting circuit 9 will be produced from its output terminal CP_(OUT). If the address signals of a₀ =0, a₁ =0, a₂ =0 and a₃ =0 are applied, as described in connection with FIG. 1, the decoder output Y₀ is selected and then pulled up to |V_(TD) |=3 V through the MOSFET DY₀. Further, the output IY₀₀ in the column pull-up circuit 5 becomes the low level 0 V so that the P-channel MOSFET Y₀₁ turns on. Thus, the selected decoder output Y₀ will be pulled up to the boosted voltage (V_(CP) =20 V) outputted from the output terminal CP_(OUT) of the voltage boosting circuit 9 through the P-channel MOSFET PY₀₁. Accordingly, the boosted voltage V_(CP) =20 V is applied to the gate electrode of the N-channel MOSFET YS₀ so that it turns on. As a result, the column line D₀ is connected with the write circuit 7.

Further, as described in connection with FIG. 1, the row decoder 4 and the row pull-up circuit 6 select the row line W₀ and this row line W₀ is pulled up to the high voltage V_(PP) =12.5 V. In this way, the memory cell M₀₀ is selected.

Now, if the write data D₁ is at a high level V_(PP) =12.5 V in the write circuit 7, in the switch circuit 11, the P-channel MOSFET PW₀₁ turns off and the N-channel MOSFET NW₀₁ turns on. Thus, the reference voltage V_(R) is applied to the gate electrode of the P-channel MOSFET PW₀₀. Also applied to the gate electrode of the N-channel MOSFET NW₀₀ is the output voltage V_(DC) from the voltage dividing circuit 8 expressed by the following equation: ##EQU2##

Now, FIG. 5 shows the load line obtained with the potential V_(D1) of the selected column line and the current I_(D1) flowing through the MOSFETs PW₀₀ and NW₀₀ in the write circuit 7 and the MOSFET YS₀ in the column selector 3. Now it should be noted that the boosted voltage V_(CP) =20 V is previously applied to the gate electrode of the N-channel MOSFET YS₀ in the column selector 3. For this reason, if the threshold voltage V_(TN) of the N-channel MOSFET YS₀ is V_(TN) =1 V, even if the V_(PP) =12.5 V is applied to its source electrode, it is not cut off. As a result, the load line is determined by the P-channel MOSFET PW₀₀ and the N-channel MOSFET NW₀₀ in the write circuit 7. As shown in FIG. 4, as the reference voltage V_(R) is applied to the gate electrode of the P-channel MOSFET PW₀₀, the current I_(D1) will be limited by I_(PW00) expressed by the following equation: ##EQU3## where β_(PW00) is β of the P-channel MOSFET PW₀₀, and V_(TPW00) is the threshold voltage of the P-channel MOSFET PW₀₀.

Further, the output divided voltage V_(DC) given by Equation (2) is applied to the gate electrode of the N-channel MOSFET NW₀₀, V_(D1) will be limited by V_(L) expressed by the following equation: ##EQU4## where V_(TNW00) is the threshold voltage of the N-channel MOSFET NW₀₀.

As apparent from Equation (3), the limited current I_(PW00) can be determined by setting β_(PW00) and V_(TPW00), and as apparent from Equation (4), the limited voltage V_(L) can be determined by setting RD₀, RD₁ and V_(TNW00). This permits any load line to be set.

As seen from FIG. 5, in this case also, it should be noted that in order to shift the threshold voltage V_(TM) of the memory cell, the load line must be set at the upper right of the write starting point (represented by ".") defined by V_(W) and I_(W).

On the other hand, if the write data D₁ is the low level 0 V, in the switch circuit 11, the P-channel MOSFET PW₀₁ turns on and the N-channel MOSFET NW₀₁ turns off. Then, the voltage V_(PP) =12.5 V of the write voltage terminal V_(PP) is applied to the gate electrode of the P-channel MOSFET PW₀₀ so that PW₀₀ turns off. Thus, no voltage is applied to the drain electrode of the selected memory cell M₀₀, so that the memory cell M₀₀ is in a non-writing state. Therefore, V_(TM) thereof is not shifted but V_(TN) =2 V is maintained.

The read operation, which can be executed in the same manner as the prior art EPROM of FIG. 2, is not explained here.

FIG. 6 shows an EPROM of a second embodiment according to the present invention. In FIG. 6, like reference numerals and symbols refer to like parts in FIG. 4. This embodiment is different from that of FIG. 4 in that the wiring for connecting the write circuits 7 with the write voltage terminal V_(PP) is separated from that for connecting the voltage dividing circuit 8 with the write voltage terminal V_(PP). The write and read operations in this embodiment, which can be executed in the same manner as in the first embodiment, are not explained here.

The wiring pattern in this embodiment will be compared with that in the first embodiment of FIG. 4 with reference to FIGS. 7A and 7B. FIG. 7A shows the wiring pattern in which the write circuits and the voltage dividing circuit are connected with the write voltage terminal V_(PP) using the same wiring having a width of W₀ and a length of L₀. FIG. 7B shows the wiring pattern in which the write circuits are connected with the write voltage terminal V_(PP) using a first wiring having a width of W₀ and a length of L₀ and the voltage dividing circuit is connected with the write voltage terminal using a second wiring having a width of W₂ and a length of L₀ separated from the first wiring.

In FIGS. 7A and 7B, eight (8) write circuits are shown for the EPROM in which one word is composed of eight (8) bits. Not shown are the memory cell array, the column decoder, the column selector, the row decoder, the column pull-up circuit, the row pull-up circuit, the voltage boosting circuit and the sense amplifier. The wirings for connecting the write voltage terminal with the write circuits and the voltage dividing circuit have wiring resistance. If in writing, a current I_(WC) (e.g., I_(WC) =2 mA) flows to the write circuits and a current I_(DC) (e.g., I_(DC) =0.1 mA) flows to the voltage dividing circuit, the voltage drops due to the wiring resistance will be developed.

The wiring resistance R₁ can be given by Equation (5). So, the voltage drop (ΔV_(PP)) a due to the wiring resistance in FIG. 7A can be expressed by Equation (6). The voltage drops (ΔV_(PP))b1 and (ΔV_(PP))b2 due to the first wiring resistance and the second wiring resistance in FIG. 7B can be expressed by Equations (7-1) and (7-2), respectively. ##EQU5## where P_(S) is sheet resistance of a wiring material used. ##EQU6##

Now it should be noted that the limited voltage V_(L) given by Equation (4) of the load line depends on the output voltage V_(DC) given by Equation (2) and sent from the voltage diving circuit 8, and this output voltage V_(DC) depends on the voltage V_(PP) applied to the voltage dividing circuit. For this reason, if the voltage applied to the voltage dividing circuit goes down by the voltage drop due to the wiring resistance, the limited voltage of the load line will also lower so that the voltage drop due to the wiring resistance should be made small.

Now, the wiring widths W₀ and W₂ required in order to decrease (ΔV_(PP))a and (ΔV_(PP))b2 to 0.5 V or less will be calculated using Equations (6) and (7-2). ##EQU7##

With the limited voltage V_(L) of the load line set for V_(L) =8 V, the write circuit is operable when the voltage (i.e., 10 V or so) which is higher than the limited voltage by 2 V or so. With V_(PP) =12.5 V, if (ΔV_(PP))b1 is not smaller than 2.5 V, the voltage of 10 V or larger can be applied to the write circuit. So, the wiring width required to make (ΔV_(PP))b1 be 2.5 V or less will be calculated by using Equation (7-1). ##EQU8##

Accordingly, the width of the wiring required in the case of connecting the write voltage terminal V_(PP) with the write circuits and the voltage dividing circuit using the same wiring as shown in FIG. 7A is given by W₀ of Equation 8. On the other hand, the widths of the wirings in the case of the write voltage terminal V_(PP) with the write circuits and the voltage dividing circuit using individual wirings separated from each other are given by W₁ of Equation (9-1) and W₂ of Equation (9-2). The ratio of W₀ and (W₁ +W₂) is given by: ##EQU9## Therefore, by separating the wiring for connecting the write voltage terminal with the write circuits and the wiring for connecting the former with the voltage dividing circuit, the entire wiring width, i.e., the area of the wiring region can be reduced to 1/5.

In accordance with the present invention, in writing for a memory cell, the MOSFETs constituting the write circuit can be controlled by a reference voltage and the output from a voltage dividing circuit in accordance with a write data so that the limited voltage and the limited current of the load line can be set as desired. This prevents an excess current from being supplied to the drain electrode of a memory cell so that an EPROM can be fabricated without degrading the reliability of the memory cell. Further, the wirings for connecting the write voltage terminal with the write circuits and the voltage dividing circuit are individually provided or separated with each other so that the width of the wirings, i.e., the necessary wiring area can be reduced. This permits a semiconductor device (EPROM) to be integrated with high integration density.

While the invention has been described in its preferred embodiments, it is to be understood that the words which have been used are words of description rather than limitation and that changes within the purview of the appended claims may be made without departing from the true scope and spirit of the invention in its broader aspects. 

What is claimed is:
 1. A semiconductor device comprising:a memory cell array including a plurality of memory cells each having a floating gate arranged in a row and a column direction; a plurality of column lines for connecting said memory cells in the column direction; a plurality of row lines for connecting said memory cells in the row direction; a column decoder for receiving a first address signal related to said column direction; a column selector for selecting said column lines, said column selector being driven by outputs from said column decoder; a row decoder for receiving a second address signal related to said row direction and selecting said row lines; a voltage dividing circuit connected between a write voltage terminal and ground; a sense amplifier for reading the data stored in the memory cells; and at least one write circuit for applying a high voltage to one column line selected from said plurality of column lines in accordance with a write data, said high voltage being supplied from said write voltage terminal, when writing for one memory cell selected from said plurality of memory cells, said write circuit comprising a first MOSFET having a first conductivity type and a second MOSFET having a second conductivity type opposite to said first conductivity type connected in series between said write voltage terminal and said column selector in which said first MOSFET turns on when a reference voltage is applied to its gate electrode in accordance with said write data, and said second MOSFET turns on when an output voltage from said voltage dividing circuit is applied to its gate electrode.
 2. A semiconductor device according to claim 1, wherein said semiconductor device is an EPROM.
 3. A semiconductor device according to claim 1, wherein said first MOSFET and said second MOSFET included in said write circuit are a P-channel MOSFET and an N-channel MOSFET, respectively.
 4. A semiconductor device according to claim 1, wherein said voltage dividing circuit is composed of resistors connected in series between said write voltage terminal and ground, and the gate of said second MOSFET is connected with a junction point of said resistors.
 5. A semiconductor device according to claim 1, wherein said write circuit further comprises a switch circuit for on-off controlling said first MOSFET.
 6. A semiconductor device according to claim 2, wherein the number of said write circuit is set in accordance with the number of bits of one word used for said EPROM.
 7. A semiconductor device according to claim 1, wherein a wiring for connecting said write voltage terminal with said write circuit is separated from another wiring for connecting said write voltage terminal with said voltage dividing circuit. 